/*
 * @Author: 徐建辰
 * @Date: 2022-04-15 15:09:10
 * @LastEditTime: 2022-06-17 10:25:06
 * @LastEditors: xjc
 * @Description: 常量管理
 */
export const baseName = 'MY_ADMIN'

// 缓存常量
export const TOKEN = `${baseName}--TOKEN`
export const MENU = `${baseName}--MENU`
export const USER_INFO = `${baseName}--USER-INFO`
export const APP_THEME = `${baseName}--APP_THEME`
export const APP_COLOR = `${baseName}--APP_COLOR`
export const APP_LAYOUT = `${baseName}--APP_LAYOUT`
export const PERMISSIONS = `${baseName}--PERMISSIONS`
export const GRID = `${baseName}--GRID`
export const MY_MODS = `${baseName}--MY_MODS`
export const WELCOME_TEXT = `${baseName}--WELCOME_TEXT`
export const SEARCH_HISTORY = `${baseName}--SEARCH_HISTORY`

// store常量
export const APP = `${baseName}--APP`
export const VIEW_TAGS = `${baseName}--VIEW_TAGS`
export const KEEPALIVE = `${baseName}--KEEPALIVE`
export const IFRAME = `${baseName}--IFRAME`
export const TAGS_VIEW = `${baseName}--TAGS_VIEW`
export const USER_INFO_STORE = `${baseName}--USER_INFO_STORE`
export const USER_UPDATE_MODAL = `${baseName}--USER_UPDATE_MODALERT`

// 屏幕宽度阀值
export const SCREEN_WIDTH = 992

// 地址常量
export const HTTP_URL = '/agency'
// export const HTTP_URL = 'https://qyhever.com/e-admin'
// export const HTTP_URL = 'https://proxy01.hnchengyue.com/test/charging'
// export const HTTP_URL = 'https://test.hnchengyue.com/charging'
export const QINIU_UPLOAD_URL = 'https://upload-z2.qiniup.com'
export const QINIU_PREFIX = 'https://qiniu.qyhever.com/'

// excel-批量上传用户对照表
export const EXCEL_RELATIONS = {
  用例编号: 'id',
  功能模块: 'function',
  测试场景: 'scene',
  预置条件: 'condition',
  操作步骤: 'step',
  优先级: 'level',
  预期输出: 'console',
  实际输出: 'consoleRealy',
  备注: 'remark'
}